[MOB-7936] create iterable embedded placement class#636
Conversation
❌ 17 blocking issues (19 total)
This is from Qlty Cloud, the successor to Code Climate Quality. Learn more. |
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageElements {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageMetadata {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageElements {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -0,0 +1,33 @@ | |||
| export class IterableEmbeddedMessageMetadata { | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,61 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageElements {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -0,0 +1,39 @@ | |||
| export class IterableEmbeddedMessageMetadata { | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,61 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageElements {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,61 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageButton {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageDefaultAction {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| constructor( | ||
| title: string, | ||
| body: string, | ||
| mediaUrl: string | undefined, | ||
| mediaUrlCaption: string | undefined, | ||
| defaultAction: IterableEmbeddedMessageDefaultAction | undefined, | ||
| buttons: IterableEmbeddedMessageButton[] | undefined, | ||
| text: IterableEmbeddedMessageText[] | undefined |
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageText {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,42 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageButton {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -0,0 +1,23 @@ | |||
| export class IterableEmbeddedMessageDefaultAction { | |||
There was a problem hiding this comment.
| constructor( | ||
| title: string, | ||
| body: string, | ||
| mediaUrl: string | undefined, | ||
| mediaUrlCaption: string | undefined, | ||
| defaultAction: IterableEmbeddedMessageDefaultAction | undefined, | ||
| buttons: IterableEmbeddedMessageButton[] | undefined, | ||
| text: IterableEmbeddedMessageText[] | undefined |
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageText {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,42 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageButton {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -0,0 +1,47 @@ | |||
| export class IterableEmbeddedMessageDefaultAction { | |||
There was a problem hiding this comment.
| constructor( | ||
| title: string, | ||
| body: string, | ||
| mediaUrl: string | undefined, | ||
| mediaUrlCaption: string | undefined, | ||
| defaultAction: IterableEmbeddedMessageDefaultAction | undefined, | ||
| buttons: IterableEmbeddedMessageButton[] | undefined, | ||
| text: IterableEmbeddedMessageText[] | undefined |
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageText {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,42 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageButton {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| @@ -0,0 +1,47 @@ | |||
| export class IterableEmbeddedMessageDefaultAction { | |||
There was a problem hiding this comment.
| constructor( | ||
| title: string, | ||
| body: string, | ||
| mediaUrl: string | undefined, | ||
| mediaUrlCaption: string | undefined, | ||
| defaultAction: IterableEmbeddedMessageDefaultAction | undefined, | ||
| buttons: IterableEmbeddedMessageButton[] | undefined, | ||
| text: IterableEmbeddedMessageText[] | undefined |
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,38 @@ | |||
| import { IterableEmbeddedMessageText } from '../embedded/classes/IterableEmbeddedMessageText'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1 @@ | |||
| export class IterableEmbeddedMessageButton {} | |||
There was a problem hiding this comment.
Found 2 issues:
1. Error loading TSDoc config file:
Error encountered for /home/runner/work/react-native-sdk/tsdoc.json:
Unable to resolve "extends" reference to "typedoc/tsdoc.json": Cannot find module 'typedoc/tsdoc.json' from '/home/runner/work/react-native-sdk'
[eslint:tsdoc/syntax]
2. Unexpected empty class. [radarlint-js:typescript:S2094]
| constructor( | ||
| title: string, | ||
| body: string, | ||
| mediaUrl: string | undefined, | ||
| mediaUrlCaption: string | undefined, | ||
| defaultAction: IterableEmbeddedMessageDefaultAction | undefined, | ||
| buttons: IterableEmbeddedMessageButton[] | undefined, | ||
| text: IterableEmbeddedMessageText[] | undefined |
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,38 @@ | |||
| import { IterableEmbeddedMessageText } from '../embedded/classes/IterableEmbeddedMessageText'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,18 @@ | |||
| import { IterableEmbeddedMessageMetadata } from './IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,32 @@ | |||
| import { IterableEmbeddedMessageElementsButtonAction } from './IterableEmbeddedMessageElementsButtonAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,26 @@ | |||
| export class IterableEmbeddedMessageElementsButtonAction { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,91 @@ | |||
| import { IterableEmbeddedMessageButton } from '../embedded/classes/IterableEmbeddedMessageButton'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageElementsButtonAction } from '../embedded/classes/IterableEmbeddedMessageElementsButtonAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,38 @@ | |||
| import { IterableEmbeddedMessageText } from '../embedded/classes/IterableEmbeddedMessageText'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,26 @@ | |||
| export class IterableEmbeddedMessageElementsButtonAction { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,91 @@ | |||
| import { IterableEmbeddedMessageButton } from '../embedded/classes/IterableEmbeddedMessageButton'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageElementsButtonAction } from '../embedded/classes/IterableEmbeddedMessageElementsButtonAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,38 @@ | |||
| import { IterableEmbeddedMessageText } from '../embedded/classes/IterableEmbeddedMessageText'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,26 @@ | |||
| export class IterableEmbeddedMessageElementsButtonAction { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,91 @@ | |||
| import { IterableEmbeddedMessageButton } from '../embedded/classes/IterableEmbeddedMessageButton'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,212 @@ | |||
| import { IterableEmbeddedMessageElements } from '../embedded/classes/IterableEmbeddedMessageElements'; | |||
There was a problem hiding this comment.
|
|
||
| // Check buttons | ||
| expect(elements.buttons).toHaveLength(2); | ||
| const firstButton = elements.buttons![0] as IterableEmbeddedMessageButton; |
| @@ -0,0 +1,26 @@ | |||
| export class IterableEmbeddedMessageElementsButtonAction { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,16 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
…rableEmbeddedMessage
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,91 @@ | |||
| import { IterableEmbeddedMessageButton } from '../embedded/classes/IterableEmbeddedMessageButton'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,212 @@ | |||
| import { IterableEmbeddedMessageElements } from '../embedded/classes/IterableEmbeddedMessageElements'; | |||
There was a problem hiding this comment.
|
|
||
| // Check buttons | ||
| expect(elements.buttons).toHaveLength(2); | ||
| const firstButton = elements.buttons![0] as IterableEmbeddedMessageButton; |
| @@ -0,0 +1,26 @@ | |||
| export class IterableEmbeddedMessageElementsButtonAction { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,37 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,163 @@ | |||
| import { IterableEmbeddedMessage } from '../embedded/classes/IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,91 @@ | |||
| import { IterableEmbeddedMessageButton } from '../embedded/classes/IterableEmbeddedMessageButton'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,212 @@ | |||
| import { IterableEmbeddedMessageElements } from '../embedded/classes/IterableEmbeddedMessageElements'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,26 @@ | |||
| export class IterableEmbeddedMessageElementsButtonAction { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,37 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
…36-iterable-embedded-placement-class
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,163 @@ | |||
| import { IterableEmbeddedMessage } from '../embedded/classes/IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,91 @@ | |||
| import { IterableEmbeddedMessageButton } from '../embedded/classes/IterableEmbeddedMessageButton'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,212 @@ | |||
| import { IterableEmbeddedMessageElements } from '../embedded/classes/IterableEmbeddedMessageElements'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,26 @@ | |||
| export class IterableEmbeddedMessageElementsButtonAction { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,37 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,163 @@ | |||
| import { IterableEmbeddedMessage } from '../embedded/classes/IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,91 @@ | |||
| import { IterableEmbeddedMessageButton } from '../embedded/classes/IterableEmbeddedMessageButton'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,212 @@ | |||
| import { IterableEmbeddedMessageElements } from '../embedded/classes/IterableEmbeddedMessageElements'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,26 @@ | |||
| export class IterableEmbeddedMessageElementsButtonAction { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,37 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
…36-iterable-embedded-placement-class
| @@ -0,0 +1,58 @@ | |||
| import { IterableEmbeddedMessageMetadata } from '../embedded/classes/IterableEmbeddedMessageMetadata'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,163 @@ | |||
| import { IterableEmbeddedMessage } from '../embedded/classes/IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,91 @@ | |||
| import { IterableEmbeddedMessageButton } from '../embedded/classes/IterableEmbeddedMessageButton'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,40 @@ | |||
| import { IterableEmbeddedMessageDefaultAction } from '../embedded/classes/IterableEmbeddedMessageDefaultAction'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,212 @@ | |||
| import { IterableEmbeddedMessageElements } from '../embedded/classes/IterableEmbeddedMessageElements'; | |||
There was a problem hiding this comment.
| @@ -0,0 +1,26 @@ | |||
| export class IterableEmbeddedMessageElementsButtonAction { | |||
There was a problem hiding this comment.
| @@ -0,0 +1,68 @@ | |||
| /** | |||
There was a problem hiding this comment.
| constructor( | ||
| messageId: string, | ||
| placementId: number, | ||
| campaignId: number | undefined, | ||
| isProof: boolean = false |
| @@ -0,0 +1,45 @@ | |||
| export class IterableEmbeddedMessageText { | |||
There was a problem hiding this comment.
| @@ -1,11 +1,37 @@ | |||
| import { IterableEmbeddedMessage } from './IterableEmbeddedMessage'; | |||
There was a problem hiding this comment.
|
This PR is enormous! Please break it down into smaller chunks so that it is easier to review. |
🔹 JIRA Ticket(s) if any
✏️ Description